FROM python:latest
ENV PYTHONUNBUFFERED 1
RUN pip install --upgrade pip
WORKDIR /backend

COPY ./requirements.txt /backend/requirements.txt
RUN pip install -r requirements.txt
COPY . /backend


#COPY ./entrypoint.sh /backend/entrypoint.sh
#RUN chmod +x /backend/entrypoint.sh
#
#ENTRYPOINT ["entrypoint.sh"]

EXPOSE 8000
#CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]